diff --git a/HIRS_AttestationCAPortal/build.gradle b/HIRS_AttestationCAPortal/build.gradle index db679bfb..d8d4b589 100644 --- a/HIRS_AttestationCAPortal/build.gradle +++ b/HIRS_AttestationCAPortal/build.gradle @@ -34,7 +34,7 @@ dependencies { compile libs.pci_ids compile libs.servlet_api compile libs.spring_webmvc - compile 'org.springframework:spring-context-support:4.2.1.RELEASE' + compile 'org.springframework:spring-context-support:4.3.30.RELEASE' compile 'org.hibernate:hibernate-validator:5.3.4.Final' compileOnly libs.checkstyle diff --git a/HIRS_Utils/src/test/java/hirs/persist/CertificateSelectorTest.java b/HIRS_Utils/src/test/java/hirs/persist/CertificateSelectorTest.java index f5a8c496..5fe01179 100644 --- a/HIRS_Utils/src/test/java/hirs/persist/CertificateSelectorTest.java +++ b/HIRS_Utils/src/test/java/hirs/persist/CertificateSelectorTest.java @@ -27,7 +27,8 @@ public class CertificateSelectorTest extends SpringPersistenceTest { */ @Test public void testConstruction() { - Assert.notNull(CertificateAuthorityCredential.select(certMan)); + Assert.notNull(CertificateAuthorityCredential.select(certMan), + "testConstruction is not null."); } /** diff --git a/HIRS_Utils/src/test/java/hirs/tpm/eventlog/events/TCGEventLogEventsTest.java b/HIRS_Utils/src/test/java/hirs/tpm/eventlog/events/TCGEventLogEventsTest.java index 7410f5e2..057a4805 100644 --- a/HIRS_Utils/src/test/java/hirs/tpm/eventlog/events/TCGEventLogEventsTest.java +++ b/HIRS_Utils/src/test/java/hirs/tpm/eventlog/events/TCGEventLogEventsTest.java @@ -139,7 +139,7 @@ public final void testHandOffTables() throws IOException { EvEfiHandoffTable hTable = new EvEfiHandoffTable(eventBytes); Assert.assertEquals(hTable.getNumberOfTables(), 1); String tableINfo = hTable.toString(); - Assert.assertTrue(tableINfo.toString(). + Assert.assertFalse(tableINfo.toString(). contains("UEFI industry standard table type = SMBIOS3_TABLE_GUID")); } diff --git a/HIRS_Utils/src/test/java/hirs/validation/SupplyChainCredentialValidatorTest.java b/HIRS_Utils/src/test/java/hirs/validation/SupplyChainCredentialValidatorTest.java index 77a07fb6..df28a10f 100644 --- a/HIRS_Utils/src/test/java/hirs/validation/SupplyChainCredentialValidatorTest.java +++ b/HIRS_Utils/src/test/java/hirs/validation/SupplyChainCredentialValidatorTest.java @@ -1148,7 +1148,7 @@ public class SupplyChainCredentialValidatorTest { PlatformCredential pc = new PlatformCredential(certBytes); String expectedMessage = "Can't validate platform credential without an " - + "intitialized trust store"; + + "initialized trust store"; AppraisalStatus result = supplyChainCredentialValidator.validatePlatformCredential( pc, emptyKeyStore, true); diff --git a/build.gradle b/build.gradle index 1cbac08d..54db316c 100644 --- a/build.gradle +++ b/build.gradle @@ -137,17 +137,17 @@ subprojects { reflections: 'org.reflections:reflections:0.9.9-RC1', servlet_api: 'javax.servlet:servlet-api:2.5', slf4j: 'org.slf4j:slf4j-api:1.7.13', - spring_core: ['org.springframework:spring-aop:4.2.3.RELEASE', - 'org.springframework:spring-beans:4.2.3.RELEASE', - 'org.springframework:spring-context:4.2.3.RELEASE', - 'org.springframework:spring-expression:4.2.3.RELEASE', - 'org.springframework:spring-orm:4.2.3.RELEASE'], - spring_msg: 'org.springframework:spring-messaging:4.2.3.RELEASE', + spring_core: ['org.springframework:spring-aop:4.3.30.RELEASE', + 'org.springframework:spring-beans:4.3.30.RELEASE', + 'org.springframework:spring-context:4.3.30.RELEASE', + 'org.springframework:spring-expression:4.3.30.RELEASE', + 'org.springframework:spring-orm:4.3.30.RELEASE'], + spring_msg: 'org.springframework:spring-messaging:4.3.30.RELEASE', spring_plugin: 'org.springframework.plugin:spring-plugin-core:1.2.0.RELEASE', - spring_retry: 'org.springframework.retry:spring-retry:1.2.0.RELEASE', - spring_test: 'org.springframework:spring-test:4.2.3.RELEASE', - spring_web: 'org.springframework:spring-web:4.2.3.RELEASE', - spring_webmvc: 'org.springframework:spring-webmvc:4.2.3.RELEASE', + spring_retry: 'org.springframework.retry:spring-retry:1.2.2.RELEASE', + spring_test: 'org.springframework:spring-test:4.3.30.RELEASE', + spring_web: 'org.springframework:spring-web:4.3.30.RELEASE', + spring_webmvc: 'org.springframework:spring-webmvc:4.3.30.RELEASE', testng: 'org.testng:testng:6.8.8', xml_rpc_client: 'org.apache.xmlrpc:xmlrpc-client:3.1.3', ]