playOrm - 运行初始测试文件 - TestManyToOne.java

时间:2012-09-12 17:09:10

标签: java eclipse playorm

测试文件入门 - TestManyToOne.java,我以为我会在Eclipse中运行该文件,看看会发生什么,或者我应该期待什么?在这样做的过程中,我在控制台中得到了一些信息......

见下面的信息,

...以及一对 Java异常断点。

  • 这是值得关注的吗?

  • 在调试领域,我想在哪里放置我的换行符?

提前感谢,为了洞察力,
莱恩

控制台信息非常广泛,所以只发布最后几行;如果需要更多信息,请告知......

    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     CF=DboTableMeta persist rowkey=PartSecurity
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     CF=DboColumnMeta persist rowkey=StringIndice:id
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     CF=DboTableMeta persist rowkey=StringIndice
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     CF=DboColumnMeta persist rowkey=DecimalIndice:id
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     CF=DboTableMeta persist rowkey=DecimalIndice
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     CF=DboColumnMeta persist rowkey=IntegerIndice:id
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     CF=DboTableMeta persist rowkey=IntegerIndice
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     CF=DboDatabaseMeta persist rowkey=nosqlorm
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     2012-09-12 09:52:06,830         `CF=DboColumnMeta persist rowkey=PartSecurity:id
     com.alvazan.orm.layer9z.spi.db.inmemory.InMemorySession
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     `CF=DboColumnMeta persist rowkey=PartSecurity:id
     `CF=DboColumnMeta         `CF=DboColumnMeta persist rowkey=PartSecurity:id
     persist rowkey=PartSecurity:id
     lookupColFamily
    INFO: CREATING column family=DboColumnMeta in the in memory nosql store
    2012-09-12 09:52:06,830         `CF=DboColumnMeta persist rowkey=PartSecurity:id
     com.alvazan.orm.layer9z.spi.db.inmemory.InMemorySession          lookupColFamily
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     INFO: CREATING column family=DboTableMeta in the in memory nosql store
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     2012-09-12 09:52:06,850         `CF=DboColumnMeta persist rowkey=PartSecurity:id
     com.alvazan.orm.layer9z.spi.db.inmemory.InMemorySession                 `CF=DboColumnMeta persist rowkey=PartSecurity:id
     `CF=DboColumnMeta         `CF=DboColumnMeta persist rowkey=PartSecurity:id
     persist rowkey=PartSecurity:id
     lookupColFamily
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     INFO: CREATING column family=DboDatabaseMeta in the in memory nosql store
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     2012-09-12 09:52:06,851 com.alvazan.orm.logging.NoSqlRawLogger sendChanges
    INFO: [rawlogger] Sending Changes to server took(including spi plugin)=21 ms`

1 个答案:

答案 0 :(得分:0)

如果你在TestManyToOne.java中,一个好的断点将在简单的testReadWrite方法或这个版本的第79行

https://github.com/deanhiller/playorm/blob/6f5ed41d2d284902c194b843ac90876da55bab0b/input/javasrc/com/alvazan/test/TestManyToOne.java

然后你可以进入readWriteBasic方法。我不确定你的意思是“几个java异常断点”?也许是你的意思截图?

此外,您的控制台暗示您可能正在一个类或整个测试套件中运行每个测试。我只需右键单击你想要运行/调试“testReadWrite”的方法,然后运行/调试一个方法(在控制台中你也没有那么多)。

迪安