Navigation Menu

Skip to content

Commit

Permalink
Rename TROYTestUtil to ROTestUtil
Browse files Browse the repository at this point in the history
  • Loading branch information
ooz committed Feb 14, 2013
1 parent 2a161e5 commit e2e7db4
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions projects/BARTApplication.xcodeproj/project.pbxproj
Expand Up @@ -273,8 +273,8 @@
00EA8ED7135F02DA00562F3B /* EDIsisImage.h in Headers */ = {isa = PBXBuildFile; fileRef = 00EA8ED6135F02DA00562F3B /* EDIsisImage.h */; settings = {ATTRIBUTES = (Private, ); }; };
00FA55A2140BCA150009CD27 /* BARTSerialIOPluginFTDITriggerButton.bundle in Copy PlugIns */ = {isa = PBXBuildFile; fileRef = 00FA55A1140BCA150009CD27 /* BARTSerialIOPluginFTDITriggerButton.bundle */; };
4763CEE2165BCE2000DD34D0 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0041E3F013E8025300169848 /* Cocoa.framework */; };
47CA495416C55DAE006EC6B3 /* TROYTestUtil.mm in Sources */ = {isa = PBXBuildFile; fileRef = 47CA495316C55DAE006EC6B3 /* TROYTestUtil.mm */; };
47CA495516C55DAE006EC6B3 /* TROYTestUtil.mm in Sources */ = {isa = PBXBuildFile; fileRef = 47CA495316C55DAE006EC6B3 /* TROYTestUtil.mm */; };
47CA495416C55DAE006EC6B3 /* ROTestUtil.mm in Sources */ = {isa = PBXBuildFile; fileRef = 47CA495316C55DAE006EC6B3 /* ROTestUtil.mm */; };
47CA495516C55DAE006EC6B3 /* ROTestUtil.mm in Sources */ = {isa = PBXBuildFile; fileRef = 47CA495316C55DAE006EC6B3 /* ROTestUtil.mm */; };
8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; };
8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; };
A713AA091445CF1600BBF150 /* EDNA.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 0041E4B013E805FF00169848 /* EDNA.dylib */; };
Expand Down Expand Up @@ -820,8 +820,8 @@
1DDD58150DA1D0A300B32029 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/MainMenu.xib; sourceTree = "<group>"; };
256AC3F00F4B6AF500CF3369 /* BARTApplication_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BARTApplication_Prefix.pch; sourceTree = "<group>"; };
29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
47CA495216C55DAE006EC6B3 /* TROYTestUtil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TROYTestUtil.h; sourceTree = "<group>"; };
47CA495316C55DAE006EC6B3 /* TROYTestUtil.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = TROYTestUtil.mm; sourceTree = "<group>"; };
47CA495216C55DAE006EC6B3 /* ROTestUtil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ROTestUtil.h; sourceTree = "<group>"; };
47CA495316C55DAE006EC6B3 /* ROTestUtil.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = ROTestUtil.mm; sourceTree = "<group>"; };
8D1107310486CEB800E47090 /* BARTApplication-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "BARTApplication-Info.plist"; sourceTree = "<group>"; };
8D1107320486CEB800E47090 /* BARTApplication.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BARTApplication.app; sourceTree = BUILT_PRODUCTS_DIR; };
A74EB3461525B09600AC7C59 /* isisRegistrationFactory3D.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = isisRegistrationFactory3D.hpp; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1744,8 +1744,8 @@
A74EB36B1525B0BB00AC7C59 /* RORegistrationMethodTest.mm */,
A74EB36E1525B0BB00AC7C59 /* TROYTests.h */,
A74EB36F1525B0BB00AC7C59 /* TROYTests.m */,
47CA495216C55DAE006EC6B3 /* TROYTestUtil.h */,
47CA495316C55DAE006EC6B3 /* TROYTestUtil.mm */,
47CA495216C55DAE006EC6B3 /* ROTestUtil.h */,
47CA495316C55DAE006EC6B3 /* ROTestUtil.mm */,
);
path = TROYTests;
sourceTree = "<group>";
Expand Down Expand Up @@ -2409,7 +2409,7 @@
files = (
A74EB3711525B0BB00AC7C59 /* RORegistrationMethodTest.mm in Sources */,
A74EB3731525B0BB00AC7C59 /* TROYTests.m in Sources */,
47CA495516C55DAE006EC6B3 /* TROYTestUtil.mm in Sources */,
47CA495516C55DAE006EC6B3 /* ROTestUtil.mm in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -2606,7 +2606,7 @@
0023CBD013EAC45B006303B6 /* BAProcedureStep_Preprocessing.m in Sources */,
0023CBD313EAC484006303B6 /* BAProcedureStep_Analysis.m in Sources */,
0023CBD613EAC4B3006303B6 /* BAProcedureStep_Feedback.m in Sources */,
47CA495416C55DAE006EC6B3 /* TROYTestUtil.mm in Sources */,
47CA495416C55DAE006EC6B3 /* ROTestUtil.mm in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
6 changes: 3 additions & 3 deletions tests/TROYTests/RORegistrationMethodTest.mm
Expand Up @@ -13,7 +13,7 @@
#import "RORegistrationBART.h"
#import "RORegistrationBARTAnaOnly.h"

#import "TROYTestUtil.h"
#import "ROTestUtil.h"

#import "EDDataElement.h"
#import "EDDataElementIsis.h"
Expand Down Expand Up @@ -65,7 +65,7 @@ +(void)setUp
curDir = [[NSBundle bundleForClass:[self class] ] resourcePath];
fileName = [NSString stringWithFormat:@"%@/%@", curDir, imageFile];

TROYTestUtil* util = [[TROYTestUtil alloc] init];
ROTestUtil* util = [[ROTestUtil alloc] init];
[util redirect:stderr to:@"/tmp/BART_RORegistrationText.txt" using:@"w"];
[util release];
}
Expand Down Expand Up @@ -173,7 +173,7 @@ -(void)testRuntime
{
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];

TROYTestUtil* util = [[TROYTestUtil alloc] init];
ROTestUtil* util = [[ROTestUtil alloc] init];

RORegistrationMethod* method = [RORegistrationBARTAnaOnly alloc];
NSArray* times = [util measureRegistrationRuntime:[TESTDATA_DIR stringByAppendingString:DATA_FILE_FUN]
Expand Down
@@ -1,5 +1,5 @@
//
// TROYTestUtil.h
// ROTestUtil.h
// BARTApplication
//
// Created by Oliver Zscheyge on 2/8/13.
Expand All @@ -14,7 +14,7 @@
/**
* Utilities for testing the BART registration module.
*/
@interface TROYTestUtil : NSObject
@interface ROTestUtil : NSObject

/**
* Redirects all following prints to a stream to a given file.
Expand Down
@@ -1,20 +1,20 @@
//
// TROYTestUtil.m
// ROTestUtil.m
// BARTApplication
//
// Created by Oliver Zscheyge on 2/8/13.
// Copyright (c) 2013 MPI Cognitive and Human Brain Sciences Leipzig. All rights reserved.
//

#import "TROYTestUtil.h"
#import "ROTestUtil.h"

#import "EDDataElementIsis.h"

#import "RORegistrationMethod.h"

#import "TimeUtil.h"

@implementation TROYTestUtil
@implementation ROTestUtil

-(id)init
{
Expand Down

0 comments on commit e2e7db4

Please sign in to comment.