小编Dav*_*rst的帖子

Maven的网站生成无效

有没有得到mvn网站输出的人?我在Macbook pro上获得了网站输出,我也部署了网站.但今晚没有任何作品:

[INFO] --- maven-site-plugin:2.0.1:site(default-cli)@svs-utility ---

没有生成报告或HTML

maven maven-site-plugin

5
推荐指数
1
解决办法
3017
查看次数

应用程序类的GHUnit链接器错误

我正在尝试运行一个GHUnit测试来测试一个setter实际上适用于我的应用程序中的NSManagedObject对象.我的应用程序名为Machine,我的GHUnit目标称为测试.我已将Machine添加为Tests目标的依赖项.我在测试中的对象叫做Goal.这是代码,链接中的错误如下所示.

#import <GHUnitIOS/GHUnit.h>
#import <CoreData/CoreData.h>
#import "Goal.h"
#import "GoalRec.h"

@interface ControllerTests : GHTestCase { }
@property (retain) Goal *goal;
@end

@implementation ControllerTests
@synthesize goal;

- (BOOL)shouldRunOnMainThread {
// By default NO, but if you have a UI test or test dependent on running on the main    thread return YES
return NO;
}

- (void)setUpClass {
    // Run at start of all tests in the class
}

- (void)tearDownClass {
    // Run at end of all tests in the class
} …
Run Code Online (Sandbox Code Playgroud)

linker-errors gh-unit ios4 xcode4

5
推荐指数
1
解决办法
1609
查看次数

标签 统计

gh-unit ×1

ios4 ×1

linker-errors ×1

maven ×1

maven-site-plugin ×1

xcode4 ×1