Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FQNにSourceFileフィールドを追加 #49

Closed
shinsuke-mat opened this issue May 23, 2018 · 3 comments
Closed

FQNにSourceFileフィールドを追加 #49

shinsuke-mat opened this issue May 23, 2018 · 3 comments
Assignees

Comments

@shinsuke-mat
Copy link
Member

FQNからSourceFile名への変換に必須.

ProjectBuilder.build()の中の処理として,FQNを生成しつつSourceFile名へのマッピングをメモしておく.

@YoshikiHigo
Copy link
Member

TestExecutorの246行目をいじる

@YoshikiHigo
Copy link
Member

		final Map<FullyQualifiedName, Coverage> coverages = new HashMap<>();
		coverageBuilder.getClasses().stream().forEach(c -> {
			String stringFQN = c.getName().replaceAll("/", ".");
			final FQN fqn = buildResults.getFQN(stringFQN);
			final Coverage cc = new Coverage(c);
			coverages.put(cc.executedTargetFQN, cc);
		});

@YoshikiHigo
Copy link
Member

上記のbuildResults.getFQN(String fqn)は #48 でつくる.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants