diff --git a/objectivec/DevTools/compile_testing_protos.sh b/objectivec/DevTools/compile_testing_protos.sh index 3cba4fae00..7bdfbb8c0b 100755 --- a/objectivec/DevTools/compile_testing_protos.sh +++ b/objectivec/DevTools/compile_testing_protos.sh @@ -83,7 +83,7 @@ for PROTO_FILE in "${OBJC_TEST_PROTO_FILES[@]}"; do OBJC_NAME=$(echo "${BASE_NAME}" | awk -F _ '{for(i=1; i<=NF; i++) printf "%s", toupper(substr($i,1,1)) substr($i,2);}') for EXT in "${OBJC_EXTENSIONS[@]}"; do - if [[ ! -f "${OUTPUT_DIR}/${OBJC_NAME}${EXT}" ]]; then + if [[ ! -f "${OUTPUT_DIR}/${DIR}/${OBJC_NAME}${EXT}" ]]; then RUN_PROTOC=yes fi done @@ -130,6 +130,6 @@ find "${OUTPUT_DIR}" \ "${PROTOC}" \ --objc_out="${OUTPUT_DIR}" \ + --proto_path=. \ --proto_path=src \ - --proto_path="objectivec/Tests" \ "${OBJC_TEST_PROTO_FILES[@]}" diff --git a/objectivec/Tests/GPBARCUnittestProtos.m b/objectivec/Tests/GPBARCUnittestProtos.m index e15a5d042b..08b8426690 100644 --- a/objectivec/Tests/GPBARCUnittestProtos.m +++ b/objectivec/Tests/GPBARCUnittestProtos.m @@ -34,17 +34,17 @@ // Makes sure all the generated headers compile with ARC on. -#import "Unittest.pbobjc.h" -#import "UnittestCycle.pbobjc.h" -#import "UnittestDeprecated.pbobjc.h" -#import "UnittestDeprecatedFile.pbobjc.h" -#import "UnittestImport.pbobjc.h" -#import "UnittestImportPublic.pbobjc.h" -#import "UnittestImportPublicLite.pbobjc.h" -#import "UnittestMset.pbobjc.h" -#import "UnittestObjc.pbobjc.h" -#import "UnittestObjcOptions.pbobjc.h" -#import "UnittestObjcStartup.pbobjc.h" -#import "UnittestPreserveUnknownEnum.pbobjc.h" -#import "UnittestRuntimeProto2.pbobjc.h" -#import "UnittestRuntimeProto3.pbobjc.h" +#import "objectivec/Tests/Unittest.pbobjc.h" +#import "objectivec/Tests/UnittestCycle.pbobjc.h" +#import "objectivec/Tests/UnittestDeprecated.pbobjc.h" +#import "objectivec/Tests/UnittestDeprecatedFile.pbobjc.h" +#import "objectivec/Tests/UnittestImport.pbobjc.h" +#import "objectivec/Tests/UnittestImportPublic.pbobjc.h" +#import "objectivec/Tests/UnittestImportPublicLite.pbobjc.h" +#import "objectivec/Tests/UnittestMset.pbobjc.h" +#import "objectivec/Tests/UnittestObjc.pbobjc.h" +#import "objectivec/Tests/UnittestObjcOptions.pbobjc.h" +#import "objectivec/Tests/UnittestObjcStartup.pbobjc.h" +#import "objectivec/Tests/UnittestPreserveUnknownEnum.pbobjc.h" +#import "objectivec/Tests/UnittestRuntimeProto2.pbobjc.h" +#import "objectivec/Tests/UnittestRuntimeProto3.pbobjc.h" diff --git a/objectivec/Tests/GPBCodedInputStreamTests.m b/objectivec/Tests/GPBCodedInputStreamTests.m index 9dd0825200..3dd9d3f934 100644 --- a/objectivec/Tests/GPBCodedInputStreamTests.m +++ b/objectivec/Tests/GPBCodedInputStreamTests.m @@ -34,7 +34,7 @@ #import "GPBCodedOutputStream.h" #import "GPBUnknownFieldSet_PackagePrivate.h" #import "GPBUtilities_PackagePrivate.h" -#import "Unittest.pbobjc.h" +#import "objectivec/Tests/Unittest.pbobjc.h" @interface CodedInputStreamTests : GPBTestCase @end diff --git a/objectivec/Tests/GPBCodedOuputStreamTests.m b/objectivec/Tests/GPBCodedOuputStreamTests.m index 625847e480..11fefcee84 100644 --- a/objectivec/Tests/GPBCodedOuputStreamTests.m +++ b/objectivec/Tests/GPBCodedOuputStreamTests.m @@ -33,7 +33,7 @@ #import "GPBCodedOutputStream_PackagePrivate.h" #import "GPBCodedInputStream.h" #import "GPBUtilities_PackagePrivate.h" -#import "Unittest.pbobjc.h" +#import "objectivec/Tests/Unittest.pbobjc.h" @interface GPBCodedOutputStream (InternalMethods) // Declared in the .m file, expose for testing. diff --git a/objectivec/Tests/GPBConcurrencyTests.m b/objectivec/Tests/GPBConcurrencyTests.m index e4d45958d7..1c39317b51 100644 --- a/objectivec/Tests/GPBConcurrencyTests.m +++ b/objectivec/Tests/GPBConcurrencyTests.m @@ -30,8 +30,8 @@ #import "GPBTestUtilities.h" -#import "Unittest.pbobjc.h" -#import "UnittestObjc.pbobjc.h" +#import "objectivec/Tests/Unittest.pbobjc.h" +#import "objectivec/Tests/UnittestObjc.pbobjc.h" static const int kNumThreads = 100; static const int kNumMessages = 100; diff --git a/objectivec/Tests/GPBDescriptorTests.m b/objectivec/Tests/GPBDescriptorTests.m index 4d303797a0..6e83b3f4d9 100644 --- a/objectivec/Tests/GPBDescriptorTests.m +++ b/objectivec/Tests/GPBDescriptorTests.m @@ -33,9 +33,9 @@ #import #import "GPBDescriptor_PackagePrivate.h" -#import "Unittest.pbobjc.h" -#import "UnittestObjc.pbobjc.h" -#import "UnittestObjcOptions.pbobjc.h" +#import "objectivec/Tests/Unittest.pbobjc.h" +#import "objectivec/Tests/UnittestObjc.pbobjc.h" +#import "objectivec/Tests/UnittestObjcOptions.pbobjc.h" @interface DescriptorTests : GPBTestCase @end diff --git a/objectivec/Tests/GPBDictionaryTests+Bool.m b/objectivec/Tests/GPBDictionaryTests+Bool.m index b205a9eb54..fbab9ffbd1 100644 --- a/objectivec/Tests/GPBDictionaryTests+Bool.m +++ b/objectivec/Tests/GPBDictionaryTests+Bool.m @@ -34,7 +34,7 @@ #import "GPBDictionary.h" #import "GPBTestUtilities.h" -#import "UnittestRuntimeProto2.pbobjc.h" +#import "objectivec/Tests/UnittestRuntimeProto2.pbobjc.h" // Pull in the macros (using an external file because expanding all tests // in a single file makes a file that is failing to work with within Xcode. diff --git a/objectivec/Tests/GPBDictionaryTests+Int32.m b/objectivec/Tests/GPBDictionaryTests+Int32.m index 46c399d242..3ffdd2164a 100644 --- a/objectivec/Tests/GPBDictionaryTests+Int32.m +++ b/objectivec/Tests/GPBDictionaryTests+Int32.m @@ -34,7 +34,7 @@ #import "GPBDictionary.h" #import "GPBTestUtilities.h" -#import "UnittestRuntimeProto2.pbobjc.h" +#import "objectivec/Tests/UnittestRuntimeProto2.pbobjc.h" // Pull in the macros (using an external file because expanding all tests // in a single file makes a file that is failing to work with within Xcode. diff --git a/objectivec/Tests/GPBDictionaryTests+Int64.m b/objectivec/Tests/GPBDictionaryTests+Int64.m index 112cc75c4c..9d8a946659 100644 --- a/objectivec/Tests/GPBDictionaryTests+Int64.m +++ b/objectivec/Tests/GPBDictionaryTests+Int64.m @@ -34,7 +34,7 @@ #import "GPBDictionary.h" #import "GPBTestUtilities.h" -#import "UnittestRuntimeProto2.pbobjc.h" +#import "objectivec/Tests/UnittestRuntimeProto2.pbobjc.h" // Pull in the macros (using an external file because expanding all tests // in a single file makes a file that is failing to work with within Xcode. diff --git a/objectivec/Tests/GPBDictionaryTests+String.m b/objectivec/Tests/GPBDictionaryTests+String.m index 27e191f4aa..c2fdac3a2a 100644 --- a/objectivec/Tests/GPBDictionaryTests+String.m +++ b/objectivec/Tests/GPBDictionaryTests+String.m @@ -34,7 +34,7 @@ #import "GPBDictionary.h" #import "GPBTestUtilities.h" -#import "UnittestRuntimeProto2.pbobjc.h" +#import "objectivec/Tests/UnittestRuntimeProto2.pbobjc.h" // Pull in the macros (using an external file because expanding all tests // in a single file makes a file that is failing to work with within Xcode. diff --git a/objectivec/Tests/GPBDictionaryTests+UInt32.m b/objectivec/Tests/GPBDictionaryTests+UInt32.m index d6b9a7a39f..a00dd625b3 100644 --- a/objectivec/Tests/GPBDictionaryTests+UInt32.m +++ b/objectivec/Tests/GPBDictionaryTests+UInt32.m @@ -34,7 +34,7 @@ #import "GPBDictionary.h" #import "GPBTestUtilities.h" -#import "UnittestRuntimeProto2.pbobjc.h" +#import "objectivec/Tests/UnittestRuntimeProto2.pbobjc.h" // Pull in the macros (using an external file because expanding all tests // in a single file makes a file that is failing to work with within Xcode. diff --git a/objectivec/Tests/GPBDictionaryTests+UInt64.m b/objectivec/Tests/GPBDictionaryTests+UInt64.m index 2a28d4b21f..e1ac1437f7 100644 --- a/objectivec/Tests/GPBDictionaryTests+UInt64.m +++ b/objectivec/Tests/GPBDictionaryTests+UInt64.m @@ -34,7 +34,7 @@ #import "GPBDictionary.h" #import "GPBTestUtilities.h" -#import "UnittestRuntimeProto2.pbobjc.h" +#import "objectivec/Tests/UnittestRuntimeProto2.pbobjc.h" // Pull in the macros (using an external file because expanding all tests // in a single file makes a file that is failing to work with within Xcode. diff --git a/objectivec/Tests/GPBExtensionRegistryTest.m b/objectivec/Tests/GPBExtensionRegistryTest.m index 3d83bfe6bf..eddefd751d 100644 --- a/objectivec/Tests/GPBExtensionRegistryTest.m +++ b/objectivec/Tests/GPBExtensionRegistryTest.m @@ -31,7 +31,7 @@ #import "GPBTestUtilities.h" #import "GPBExtensionRegistry.h" -#import "Unittest.pbobjc.h" +#import "objectivec/Tests/Unittest.pbobjc.h" @interface GPBExtensionRegistryTest : GPBTestCase @end diff --git a/objectivec/Tests/GPBMessageTests+Merge.m b/objectivec/Tests/GPBMessageTests+Merge.m index 46522689c8..8469746158 100644 --- a/objectivec/Tests/GPBMessageTests+Merge.m +++ b/objectivec/Tests/GPBMessageTests+Merge.m @@ -34,11 +34,11 @@ #import "GPBMessage.h" -#import "MapUnittest.pbobjc.h" -#import "Unittest.pbobjc.h" -#import "UnittestPreserveUnknownEnum.pbobjc.h" -#import "UnittestRuntimeProto2.pbobjc.h" -#import "UnittestRuntimeProto3.pbobjc.h" +#import "objectivec/Tests/MapUnittest.pbobjc.h" +#import "objectivec/Tests/Unittest.pbobjc.h" +#import "objectivec/Tests/UnittestPreserveUnknownEnum.pbobjc.h" +#import "objectivec/Tests/UnittestRuntimeProto2.pbobjc.h" +#import "objectivec/Tests/UnittestRuntimeProto3.pbobjc.h" @interface MessageMergeTests : GPBTestCase @end diff --git a/objectivec/Tests/GPBMessageTests+Runtime.m b/objectivec/Tests/GPBMessageTests+Runtime.m index 09d60c928f..cdaea3419a 100644 --- a/objectivec/Tests/GPBMessageTests+Runtime.m +++ b/objectivec/Tests/GPBMessageTests+Runtime.m @@ -34,12 +34,12 @@ #import "GPBMessage.h" -#import "MapUnittest.pbobjc.h" -#import "Unittest.pbobjc.h" -#import "UnittestCycle.pbobjc.h" -#import "UnittestObjcStartup.pbobjc.h" -#import "UnittestRuntimeProto2.pbobjc.h" -#import "UnittestRuntimeProto3.pbobjc.h" +#import "objectivec/Tests/MapUnittest.pbobjc.h" +#import "objectivec/Tests/Unittest.pbobjc.h" +#import "objectivec/Tests/UnittestCycle.pbobjc.h" +#import "objectivec/Tests/UnittestObjcStartup.pbobjc.h" +#import "objectivec/Tests/UnittestRuntimeProto2.pbobjc.h" +#import "objectivec/Tests/UnittestRuntimeProto3.pbobjc.h" @interface MessageRuntimeTests : GPBTestCase @end diff --git a/objectivec/Tests/GPBMessageTests+Serialization.m b/objectivec/Tests/GPBMessageTests+Serialization.m index 544666333f..0427683e03 100644 --- a/objectivec/Tests/GPBMessageTests+Serialization.m +++ b/objectivec/Tests/GPBMessageTests+Serialization.m @@ -34,12 +34,12 @@ #import "GPBMessage.h" -#import "MapProto2Unittest.pbobjc.h" -#import "MapUnittest.pbobjc.h" -#import "Unittest.pbobjc.h" -#import "UnittestPreserveUnknownEnum.pbobjc.h" -#import "UnittestRuntimeProto2.pbobjc.h" -#import "UnittestRuntimeProto3.pbobjc.h" +#import "objectivec/Tests/MapProto2Unittest.pbobjc.h" +#import "objectivec/Tests/MapUnittest.pbobjc.h" +#import "objectivec/Tests/Unittest.pbobjc.h" +#import "objectivec/Tests/UnittestPreserveUnknownEnum.pbobjc.h" +#import "objectivec/Tests/UnittestRuntimeProto2.pbobjc.h" +#import "objectivec/Tests/UnittestRuntimeProto3.pbobjc.h" @interface MessageSerializationTests : GPBTestCase @end diff --git a/objectivec/Tests/GPBMessageTests.m b/objectivec/Tests/GPBMessageTests.m index 9e1b2a378d..202d1ef8ce 100644 --- a/objectivec/Tests/GPBMessageTests.m +++ b/objectivec/Tests/GPBMessageTests.m @@ -38,10 +38,10 @@ #import "GPBMessage_PackagePrivate.h" #import "GPBUnknownField_PackagePrivate.h" #import "GPBUnknownFieldSet_PackagePrivate.h" -#import "Unittest.pbobjc.h" -#import "UnittestObjc.pbobjc.h" -#import "UnittestObjcOptions.pbobjc.h" -#import "UnittestImport.pbobjc.h" +#import "objectivec/Tests/Unittest.pbobjc.h" +#import "objectivec/Tests/UnittestObjc.pbobjc.h" +#import "objectivec/Tests/UnittestObjcOptions.pbobjc.h" +#import "objectivec/Tests/UnittestImport.pbobjc.h" // Helper class to test KVO. @interface GPBKVOTestObserver : NSObject { diff --git a/objectivec/Tests/GPBObjectiveCPlusPlusTest.mm b/objectivec/Tests/GPBObjectiveCPlusPlusTest.mm index d6067074e2..73c52e8cd4 100644 --- a/objectivec/Tests/GPBObjectiveCPlusPlusTest.mm +++ b/objectivec/Tests/GPBObjectiveCPlusPlusTest.mm @@ -43,8 +43,8 @@ // The "well know types" should have cross file enums needing imports. #import "GPBProtocolBuffers.h" // Some of the tests explicitly use cross file enums also. -#import "Unittest.pbobjc.h" -#import "UnittestImport.pbobjc.h" +#import "objectivec/Tests/Unittest.pbobjc.h" +#import "objectivec/Tests/UnittestImport.pbobjc.h" // Sanity check the conditions of the test within the Xcode project. #if !__cplusplus diff --git a/objectivec/Tests/GPBPerfTests.m b/objectivec/Tests/GPBPerfTests.m index 676ba27d63..90174689bb 100644 --- a/objectivec/Tests/GPBPerfTests.m +++ b/objectivec/Tests/GPBPerfTests.m @@ -29,9 +29,9 @@ // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #import "GPBTestUtilities.h" -#import "Unittest.pbobjc.h" -#import "UnittestImport.pbobjc.h" -#import "UnittestObjc.pbobjc.h" +#import "objectivec/Tests/Unittest.pbobjc.h" +#import "objectivec/Tests/UnittestImport.pbobjc.h" +#import "objectivec/Tests/UnittestObjc.pbobjc.h" // // This file really just uses the unittests framework as a testbed to diff --git a/objectivec/Tests/GPBTestUtilities.m b/objectivec/Tests/GPBTestUtilities.m index 0744fdd337..edd143b387 100644 --- a/objectivec/Tests/GPBTestUtilities.m +++ b/objectivec/Tests/GPBTestUtilities.m @@ -30,9 +30,9 @@ #import "GPBTestUtilities.h" -#import "MapUnittest.pbobjc.h" -#import "Unittest.pbobjc.h" -#import "UnittestImport.pbobjc.h" +#import "objectivec/Tests/MapUnittest.pbobjc.h" +#import "objectivec/Tests/Unittest.pbobjc.h" +#import "objectivec/Tests/UnittestImport.pbobjc.h" const uint32_t kGPBDefaultRepeatCount = 2; diff --git a/objectivec/Tests/GPBUnittestProtos.m b/objectivec/Tests/GPBUnittestProtos.m index 35f11697c7..bebe4ee870 100644 --- a/objectivec/Tests/GPBUnittestProtos.m +++ b/objectivec/Tests/GPBUnittestProtos.m @@ -31,29 +31,29 @@ // Collects all the compiled protos into one file and compiles them to make sure // the compiler is generating valid code. -#import "AnyTest.pbobjc.m" -#import "MapProto2Unittest.pbobjc.m" -#import "MapUnittest.pbobjc.m" -#import "Unittest.pbobjc.m" -#import "UnittestCycle.pbobjc.m" -#import "UnittestDeprecated.pbobjc.m" -#import "UnittestDeprecatedFile.pbobjc.m" -#import "UnittestImport.pbobjc.m" -#import "UnittestImportPublic.pbobjc.m" -#import "UnittestImportPublicLite.pbobjc.m" -#import "UnittestMset.pbobjc.m" -#import "UnittestMsetWireFormat.pbobjc.m" -#import "UnittestObjc.pbobjc.m" -#import "UnittestObjcOptions.pbobjc.m" -#import "UnittestObjcStartup.pbobjc.m" -#import "UnittestPreserveUnknownEnum.pbobjc.m" -#import "UnittestRuntimeProto2.pbobjc.m" -#import "UnittestRuntimeProto3.pbobjc.m" +#import "objectivec/Tests/AnyTest.pbobjc.m" +#import "objectivec/Tests/MapProto2Unittest.pbobjc.m" +#import "objectivec/Tests/MapUnittest.pbobjc.m" +#import "objectivec/Tests/Unittest.pbobjc.m" +#import "objectivec/Tests/UnittestCycle.pbobjc.m" +#import "objectivec/Tests/UnittestDeprecated.pbobjc.m" +#import "objectivec/Tests/UnittestDeprecatedFile.pbobjc.m" +#import "objectivec/Tests/UnittestImport.pbobjc.m" +#import "objectivec/Tests/UnittestImportPublic.pbobjc.m" +#import "objectivec/Tests/UnittestImportPublicLite.pbobjc.m" +#import "objectivec/Tests/UnittestMset.pbobjc.m" +#import "objectivec/Tests/UnittestMsetWireFormat.pbobjc.m" +#import "objectivec/Tests/UnittestObjc.pbobjc.m" +#import "objectivec/Tests/UnittestObjcOptions.pbobjc.m" +#import "objectivec/Tests/UnittestObjcStartup.pbobjc.m" +#import "objectivec/Tests/UnittestPreserveUnknownEnum.pbobjc.m" +#import "objectivec/Tests/UnittestRuntimeProto2.pbobjc.m" +#import "objectivec/Tests/UnittestRuntimeProto3.pbobjc.m" -#import "UnittestExtensionChainA.pbobjc.m" -#import "UnittestExtensionChainB.pbobjc.m" -#import "UnittestExtensionChainC.pbobjc.m" -#import "UnittestExtensionChainD.pbobjc.m" -#import "UnittestExtensionChainE.pbobjc.m" +#import "objectivec/Tests/UnittestExtensionChainA.pbobjc.m" +#import "objectivec/Tests/UnittestExtensionChainB.pbobjc.m" +#import "objectivec/Tests/UnittestExtensionChainC.pbobjc.m" +#import "objectivec/Tests/UnittestExtensionChainD.pbobjc.m" +#import "objectivec/Tests/UnittestExtensionChainE.pbobjc.m" // See GPBUnittestProtos2.m for for "UnittestExtensionChainF.pbobjc.m" -#import "UnittestExtensionChainG.pbobjc.m" +#import "objectivec/Tests/UnittestExtensionChainG.pbobjc.m" diff --git a/objectivec/Tests/GPBUnittestProtos2.m b/objectivec/Tests/GPBUnittestProtos2.m index 1d382765ad..498d85abcb 100644 --- a/objectivec/Tests/GPBUnittestProtos2.m +++ b/objectivec/Tests/GPBUnittestProtos2.m @@ -31,4 +31,4 @@ // This one file in the chain tests is compiled by itself to ensure if was // generated with the extra #imports needed to pull in the indirect Root class // used in its Root registry. -#import "UnittestExtensionChainF.pbobjc.m" +#import "objectivec/Tests/UnittestExtensionChainF.pbobjc.m" diff --git a/objectivec/Tests/GPBUnknownFieldSetTest.m b/objectivec/Tests/GPBUnknownFieldSetTest.m index 1237330861..160f0c8d8d 100644 --- a/objectivec/Tests/GPBUnknownFieldSetTest.m +++ b/objectivec/Tests/GPBUnknownFieldSetTest.m @@ -32,7 +32,7 @@ #import "GPBUnknownField_PackagePrivate.h" #import "GPBUnknownFieldSet_PackagePrivate.h" -#import "Unittest.pbobjc.h" +#import "objectivec/Tests/Unittest.pbobjc.h" @interface GPBUnknownFieldSet (GPBUnknownFieldSetTest) - (void)getTags:(int32_t*)tags; diff --git a/objectivec/Tests/GPBUtilitiesTests.m b/objectivec/Tests/GPBUtilitiesTests.m index e6e7a81616..5c3d36fcdb 100644 --- a/objectivec/Tests/GPBUtilitiesTests.m +++ b/objectivec/Tests/GPBUtilitiesTests.m @@ -41,9 +41,9 @@ #import "GPBMessage.h" #import "GPBUnknownField_PackagePrivate.h" -#import "MapUnittest.pbobjc.h" -#import "Unittest.pbobjc.h" -#import "UnittestObjc.pbobjc.h" +#import "objectivec/Tests/MapUnittest.pbobjc.h" +#import "objectivec/Tests/Unittest.pbobjc.h" +#import "objectivec/Tests/UnittestObjc.pbobjc.h" @interface UtilitiesTests : GPBTestCase @end diff --git a/objectivec/Tests/GPBWellKnownTypesTest.m b/objectivec/Tests/GPBWellKnownTypesTest.m index 80df00c404..bd25d55c26 100644 --- a/objectivec/Tests/GPBWellKnownTypesTest.m +++ b/objectivec/Tests/GPBWellKnownTypesTest.m @@ -33,7 +33,7 @@ #import #import "GPBTestUtilities.h" -#import "AnyTest.pbobjc.h" +#import "objectivec/Tests/AnyTest.pbobjc.h" // Nanosecond time accuracy static const NSTimeInterval kTimeAccuracy = 1e-9; diff --git a/objectivec/Tests/GPBWireFormatTests.m b/objectivec/Tests/GPBWireFormatTests.m index 07a8e0b488..24d68f9b9c 100644 --- a/objectivec/Tests/GPBWireFormatTests.m +++ b/objectivec/Tests/GPBWireFormatTests.m @@ -33,9 +33,9 @@ #import "GPBCodedInputStream.h" #import "GPBMessage_PackagePrivate.h" #import "GPBUnknownField_PackagePrivate.h" -#import "Unittest.pbobjc.h" -#import "UnittestMset.pbobjc.h" -#import "UnittestMsetWireFormat.pbobjc.h" +#import "objectivec/Tests/Unittest.pbobjc.h" +#import "objectivec/Tests/UnittestMset.pbobjc.h" +#import "objectivec/Tests/UnittestMsetWireFormat.pbobjc.h" @interface WireFormatTests : GPBTestCase @end diff --git a/objectivec/Tests/UnitTests-Bridging-Header.h b/objectivec/Tests/UnitTests-Bridging-Header.h index 804215e70a..16d272be7f 100644 --- a/objectivec/Tests/UnitTests-Bridging-Header.h +++ b/objectivec/Tests/UnitTests-Bridging-Header.h @@ -2,5 +2,5 @@ // Use this file to import your target's public headers that you would like to expose to Swift. // -#import "UnittestRuntimeProto2.pbobjc.h" -#import "UnittestRuntimeProto3.pbobjc.h" +#import "objectivec/Tests/UnittestRuntimeProto2.pbobjc.h" +#import "objectivec/Tests/UnittestRuntimeProto3.pbobjc.h" diff --git a/objectivec/Tests/map_proto2_unittest.proto b/objectivec/Tests/map_proto2_unittest.proto index b6b75010ba..30e4ae1021 100644 --- a/objectivec/Tests/map_proto2_unittest.proto +++ b/objectivec/Tests/map_proto2_unittest.proto @@ -30,7 +30,7 @@ syntax = "proto2"; -import "unittest_import.proto"; +import "objectivec/Tests/unittest_import.proto"; // We don't put this in a package within proto2 because we need to make sure // that the generated code doesn't depend on being in the proto2 namespace. diff --git a/objectivec/Tests/map_unittest.proto b/objectivec/Tests/map_unittest.proto index 9b677776fb..8a4a529c56 100644 --- a/objectivec/Tests/map_unittest.proto +++ b/objectivec/Tests/map_unittest.proto @@ -30,7 +30,7 @@ syntax = "proto3"; -import "unittest.proto"; +import "objectivec/Tests/unittest.proto"; // We don't put this in a package within proto2 because we need to make sure // that the generated code doesn't depend on being in the proto2 namespace. diff --git a/objectivec/Tests/unittest.proto b/objectivec/Tests/unittest.proto index 810cc2f281..64149938fa 100644 --- a/objectivec/Tests/unittest.proto +++ b/objectivec/Tests/unittest.proto @@ -38,7 +38,7 @@ syntax = "proto2"; -import "unittest_import.proto"; +import "objectivec/Tests/unittest_import.proto"; // We don't put this in a package within proto2 because we need to make sure // that the generated code doesn't depend on being in the proto2 namespace. diff --git a/objectivec/Tests/unittest_extension_chain_a.proto b/objectivec/Tests/unittest_extension_chain_a.proto index 224c983577..bcce42a00f 100644 --- a/objectivec/Tests/unittest_extension_chain_a.proto +++ b/objectivec/Tests/unittest_extension_chain_a.proto @@ -31,11 +31,11 @@ syntax = "proto2"; package objc.protobuf.tests; -import "unittest.proto"; +import "objectivec/Tests/unittest.proto"; -import "unittest_extension_chain_b.proto"; -import "unittest_extension_chain_c.proto"; -import "unittest_extension_chain_d.proto"; +import "objectivec/Tests/unittest_extension_chain_b.proto"; +import "objectivec/Tests/unittest_extension_chain_c.proto"; +import "objectivec/Tests/unittest_extension_chain_d.proto"; // The Root for this file should end up adding the local extension and merging // in the extensions from D's Root (unittest and C will come via D's). diff --git a/objectivec/Tests/unittest_extension_chain_b.proto b/objectivec/Tests/unittest_extension_chain_b.proto index 901c6c0c40..a4055fe1df 100644 --- a/objectivec/Tests/unittest_extension_chain_b.proto +++ b/objectivec/Tests/unittest_extension_chain_b.proto @@ -31,9 +31,9 @@ syntax = "proto2"; package objc.protobuf.tests; -import "unittest.proto"; +import "objectivec/Tests/unittest.proto"; -import "unittest_extension_chain_c.proto"; +import "objectivec/Tests/unittest_extension_chain_c.proto"; // The Root for this file should end up adding the local extension and merging // in the extensions from C's Root (unittest will come via C's). diff --git a/objectivec/Tests/unittest_extension_chain_c.proto b/objectivec/Tests/unittest_extension_chain_c.proto index 5baeb786af..b30e20bddc 100644 --- a/objectivec/Tests/unittest_extension_chain_c.proto +++ b/objectivec/Tests/unittest_extension_chain_c.proto @@ -31,7 +31,7 @@ syntax = "proto2"; package objc.protobuf.tests; -import "unittest.proto"; +import "objectivec/Tests/unittest.proto"; // The Root for this file should end up adding the local extension and merging // in the extensions from unittest.proto's Root. diff --git a/objectivec/Tests/unittest_extension_chain_d.proto b/objectivec/Tests/unittest_extension_chain_d.proto index 3e5e780722..f12040b13b 100644 --- a/objectivec/Tests/unittest_extension_chain_d.proto +++ b/objectivec/Tests/unittest_extension_chain_d.proto @@ -31,10 +31,10 @@ syntax = "proto2"; package objc.protobuf.tests; -import "unittest.proto"; +import "objectivec/Tests/unittest.proto"; -import "unittest_extension_chain_b.proto"; -import "unittest_extension_chain_c.proto"; +import "objectivec/Tests/unittest_extension_chain_b.proto"; +import "objectivec/Tests/unittest_extension_chain_c.proto"; // The root should end up needing to merge B (C will be merged into B, so it // doesn't need to be directly merged). diff --git a/objectivec/Tests/unittest_extension_chain_e.proto b/objectivec/Tests/unittest_extension_chain_e.proto index 6ec5d82b22..6087fd0f93 100644 --- a/objectivec/Tests/unittest_extension_chain_e.proto +++ b/objectivec/Tests/unittest_extension_chain_e.proto @@ -31,7 +31,7 @@ syntax = "proto2"; package objc.protobuf.tests; -import "unittest.proto"; +import "objectivec/Tests/unittest.proto"; // The Root for this file should end up just merging in unittest's Root. diff --git a/objectivec/Tests/unittest_extension_chain_f.proto b/objectivec/Tests/unittest_extension_chain_f.proto index edc3622908..520f895dc1 100644 --- a/objectivec/Tests/unittest_extension_chain_f.proto +++ b/objectivec/Tests/unittest_extension_chain_f.proto @@ -31,7 +31,7 @@ syntax = "proto2"; package objc.protobuf.tests; -import "unittest_extension_chain_g.proto"; +import "objectivec/Tests/unittest_extension_chain_g.proto"; // The Root for this file should just be merging in the extensions from C's // Root (because G doesn't define anything itself). diff --git a/objectivec/Tests/unittest_extension_chain_g.proto b/objectivec/Tests/unittest_extension_chain_g.proto index aba0b26169..435e8e62ec 100644 --- a/objectivec/Tests/unittest_extension_chain_g.proto +++ b/objectivec/Tests/unittest_extension_chain_g.proto @@ -31,7 +31,7 @@ syntax = "proto2"; package objc.protobuf.tests; -import "unittest_extension_chain_c.proto"; +import "objectivec/Tests/unittest_extension_chain_c.proto"; // The Root for this file should just be merging in the extensions from C's // Root. diff --git a/objectivec/Tests/unittest_import.proto b/objectivec/Tests/unittest_import.proto index 39bb9864e5..7d3ee25463 100644 --- a/objectivec/Tests/unittest_import.proto +++ b/objectivec/Tests/unittest_import.proto @@ -39,7 +39,7 @@ syntax = "proto2"; package objc.protobuf.tests.import; // Test public import -import public "unittest_import_public.proto"; +import public "objectivec/Tests/unittest_import_public.proto"; message ImportMessage { optional int32 d = 1; diff --git a/objectivec/Tests/unittest_mset.proto b/objectivec/Tests/unittest_mset.proto index 958c2a83c8..e53040bd62 100644 --- a/objectivec/Tests/unittest_mset.proto +++ b/objectivec/Tests/unittest_mset.proto @@ -37,7 +37,7 @@ syntax = "proto2"; -import "unittest_mset_wire_format.proto"; +import "objectivec/Tests/unittest_mset_wire_format.proto"; package objc.protobuf.tests; diff --git a/objectivec/Tests/unittest_objc.proto b/objectivec/Tests/unittest_objc.proto index 5197b97cf4..63da921527 100644 --- a/objectivec/Tests/unittest_objc.proto +++ b/objectivec/Tests/unittest_objc.proto @@ -30,7 +30,7 @@ syntax = "proto2"; import "google/protobuf/any.proto"; -import "unittest.proto"; +import "objectivec/Tests/unittest.proto"; package objc.protobuf.tests;