Skip to content

Commit

Permalink
test jar
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaofeiCao committed Nov 4, 2024
1 parent 8264e06 commit e634ea2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,8 @@ public void testCompareJars() {
String changelog = (String) jsonObject.get("changelog");
Assertions.assertFalse(CoreUtils.isNullOrEmpty(changelog));
Assertions.assertFalse(breakingChanges.isEmpty());
Assertions.assertTrue(breakingChanges.toList().contains("Required stage 3 was added in class `com.azure.resourcemanager.quota.models.CurrentQuotaLimitBase$DefinitionStages`."));
Assertions.assertTrue(breakingChanges.toList().contains("Method `withProperties(com.azure.resourcemanager.quota.models.QuotaProperties)` was removed in stage 2 in class `com.azure.resourcemanager.quota.models.CurrentQuotaLimitBase$DefinitionStages`."));
Assertions.assertTrue(breakingChanges.toList().contains("Method `withProperties(com.azure.resourcemanager.quota.models.QuotaProperties)` was removed in class `com.azure.resourcemanager.quota.models.CurrentQuotaLimitBase$Definition`."));
}
}
Binary file modified eng/automation/changelog/src/test/resources/new.jar
Binary file not shown.
Binary file modified eng/automation/changelog/src/test/resources/old.jar
Binary file not shown.

0 comments on commit e634ea2

Please sign in to comment.