Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DAT-17450] Add unit tests #295

Merged
merged 8 commits into from
May 30, 2024
Merged

[DAT-17450] Add unit tests #295

merged 8 commits into from
May 30, 2024

Conversation

vitaliimak
Copy link
Contributor

No description provided.

Copy link
Contributor

FOSSA Snippets Detection 🤖success

Snippets Detection Output

Running FOSSA snippets
 INFO main{target=/home/runner/work/liquibase-bigquery/liquibase-bigquery/}: Analyzing local snippet matches
 INFO main{target=/home/runner/work/liquibase-bigquery/liquibase-bigquery/}: Finished matching 0 snippets out of 316 files to 0 matches


Pusher: @vitaliimak, Action: pull_request, Working Directory: /home/runner/work/liquibase-bigquery/liquibase-bigquery, Workflow: FOSSA AI License Compliance and Security Check

Copy link
Contributor

FOSSA Test 🧪success

Test Output

[ERROR] An issue occurred

  *** Relevant Errors ***

      �[0;91mError: �[0mA FOSSA API key was specified, but it is an empty string




Pusher: @vitaliimak, Action: pull_request, Working Directory: /home/runner/work/liquibase-bigquery/liquibase-bigquery, Workflow: FOSSA AI License Compliance and Security Check

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertInstanceOf;

class BigQueryMergeColumnChangeTest {

Check notice

Code scanning / CodeQL

Unused classes and interfaces Note test

Unused class: BigQueryMergeColumnChangeTest is not referenced within this codebase. If not used as an external API it should be removed.
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;

class BigqueryDatabaseUnitTest {

Check notice

Code scanning / CodeQL

Unused classes and interfaces Note test

Unused class: BigqueryDatabaseUnitTest is not referenced within this codebase. If not used as an external API it should be removed.

import static org.junit.jupiter.api.Assertions.*;

class BigQueryAddColumnGeneratorTest {

Check notice

Code scanning / CodeQL

Unused classes and interfaces Note test

Unused class: BigQueryAddColumnGeneratorTest is not referenced within this codebase. If not used as an external API it should be removed.

import static org.junit.jupiter.api.Assertions.assertEquals;

class BigQueryAddForeignKeyConstraintGeneratorTest {

Check notice

Code scanning / CodeQL

Unused classes and interfaces Note test

Unused class: BigQueryAddForeignKeyConstraintGeneratorTest is not referenced within this codebase. If not used as an external API it should be removed.

import static org.junit.jupiter.api.Assertions.assertEquals;

class BigQueryAddPrimaryKeyConstraintGeneratorTest {

Check notice

Code scanning / CodeQL

Unused classes and interfaces Note test

Unused class: BigQueryAddPrimaryKeyConstraintGeneratorTest is not referenced within this codebase. If not used as an external API it should be removed.

import static org.junit.jupiter.api.Assertions.*;

class BigQuerySetNullableGeneratorTest {

Check notice

Code scanning / CodeQL

Unused classes and interfaces Note test

Unused class: BigQuerySetNullableGeneratorTest is not referenced within this codebase. If not used as an external API it should be removed.

import static org.junit.jupiter.api.Assertions.*;

class BigQueryUpdateGeneratorTest {

Check notice

Code scanning / CodeQL

Unused classes and interfaces Note test

Unused class: BigQueryUpdateGeneratorTest is not referenced within this codebase. If not used as an external API it should be removed.

import static org.junit.jupiter.api.Assertions.*;

class BigqueryCreateDatabaseChangeLogLockTableGeneratorTest {

Check notice

Code scanning / CodeQL

Unused classes and interfaces Note test

Unused class: BigqueryCreateDatabaseChangeLogLockTableGeneratorTest is not referenced within this codebase. If not used as an external API it should be removed.

import static org.junit.jupiter.api.Assertions.*;

class BigQueryModifyDataTypeGeneratorTest {

Check notice

Code scanning / CodeQL

Unused classes and interfaces Note test

Unused class: BigQueryModifyDataTypeGeneratorTest is not referenced within this codebase. If not used as an external API it should be removed.

import static org.junit.jupiter.api.Assertions.*;

class BigqueryDeleteGeneratorTest {

Check notice

Code scanning / CodeQL

Unused classes and interfaces Note test

Unused class: BigqueryDeleteGeneratorTest is not referenced within this codebase. If not used as an external API it should be removed.
Copy link
Contributor

FOSSA Snippets Detection 🤖success

Snippets Detection Output

Running FOSSA snippets
 INFO main{target=/home/runner/work/liquibase-bigquery/liquibase-bigquery/}: Analyzing local snippet matches
 INFO main{target=/home/runner/work/liquibase-bigquery/liquibase-bigquery/}: Finished matching 0 snippets out of 325 files to 0 matches


Pusher: @vitaliimak, Action: pull_request, Working Directory: /home/runner/work/liquibase-bigquery/liquibase-bigquery, Workflow: FOSSA AI License Compliance and Security Check

Copy link
Contributor

FOSSA Test 🧪success

Test Output

[ERROR] An issue occurred

  *** Relevant Errors ***

      �[0;91mError: �[0mA FOSSA API key was specified, but it is an empty string




Pusher: @vitaliimak, Action: pull_request, Working Directory: /home/runner/work/liquibase-bigquery/liquibase-bigquery, Workflow: FOSSA AI License Compliance and Security Check

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;

class BignumericDataTypeBigQueryTest {

Check notice

Code scanning / CodeQL

Unused classes and interfaces Note test

Unused class: BignumericDataTypeBigQueryTest is not referenced within this codebase. If not used as an external API it should be removed.
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;

class BoolDataTypeBigQueryTest {

Check notice

Code scanning / CodeQL

Unused classes and interfaces Note test

Unused class: BoolDataTypeBigQueryTest is not referenced within this codebase. If not used as an external API it should be removed.

import static org.junit.jupiter.api.Assertions.*;

class Float64DataTypeBigQueryTest {

Check notice

Code scanning / CodeQL

Unused classes and interfaces Note test

Unused class: Float64DataTypeBigQueryTest is not referenced within this codebase. If not used as an external API it should be removed.

import static org.junit.jupiter.api.Assertions.*;

class GeographyDataTypeBigQueryTest {

Check notice

Code scanning / CodeQL

Unused classes and interfaces Note test

Unused class: GeographyDataTypeBigQueryTest is not referenced within this codebase. If not used as an external API it should be removed.

import static org.junit.jupiter.api.Assertions.*;

class Int64DataTypeBigQueryTest {

Check notice

Code scanning / CodeQL

Unused classes and interfaces Note test

Unused class: Int64DataTypeBigQueryTest is not referenced within this codebase. If not used as an external API it should be removed.

import static org.junit.jupiter.api.Assertions.*;

class NumberDataTypeBigQueryTest {

Check notice

Code scanning / CodeQL

Unused classes and interfaces Note test

Unused class: NumberDataTypeBigQueryTest is not referenced within this codebase. If not used as an external API it should be removed.

import static org.junit.jupiter.api.Assertions.*;

class StringDataTypeBigQueryTest {

Check notice

Code scanning / CodeQL

Unused classes and interfaces Note test

Unused class: StringDataTypeBigQueryTest is not referenced within this codebase. If not used as an external API it should be removed.
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@vitaliimak vitaliimak marked this pull request as ready for review April 26, 2024 12:35
@vitaliimak
Copy link
Contributor Author

New unit tests are green https://github.com/liquibase/liquibase-bigquery/actions/runs/8848203239/job/24297605434?pr=295#step:9:104
The PR will not be merged into this repository. I will move the tests to the liquibase repository when the bigquery project is migrated to the liquibase repository.
CC @filipelautert @KushnirykOleh

@filipelautert
Copy link
Contributor

The PR will not be merged into this repository. I will move the tests to the liquibase repository when the bigquery project is migrated to the liquibase repository.
CC @filipelautert @KushnirykOleh

Thanks @vitaliimak ! We can hold this on a bit until we make the move on core.

@vitaliimak
Copy link
Contributor Author

Superseded by liquibase/liquibase#5896

@vitaliimak vitaliimak closed this May 9, 2024
@vitaliimak vitaliimak deleted the DAT-17450 branch May 9, 2024 09:56
@vitaliimak vitaliimak restored the DAT-17450 branch May 29, 2024 08:22
@vitaliimak vitaliimak reopened this May 29, 2024
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@vitaliimak vitaliimak changed the base branch from main to DAT-17773-epick May 30, 2024 13:22
@vitaliimak vitaliimak merged commit 534a0c6 into DAT-17773-epick May 30, 2024
11 of 12 checks passed
@vitaliimak vitaliimak deleted the DAT-17450 branch May 30, 2024 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants