Skip to content

issues Search Results · repo:funkwerk/dmocks language:D

Filter by

6 results
 (56 ms)

6 results

infunkwerk/dmocks (press backspace or delete to remove)

dmocks-3.0.1, dmd-2.086.1: import dmocks.mocks; import util.log; class C { int[] expectable() { return null; } const(int[]) unexpectable() { return null; } } ...
  • thinkingerrol
  • Opened 
    on Apr 7, 2020
  • #24

With dmd-2.086.1 / dmocks-3.0.1: module unmockable; import dmocks.mocks; package class C { void MOCKABLE() { } package void UNMOCKABLE() { } } void main() { auto mocker ...
bug
  • thinkingerrol
  • Opened 
    on Apr 6, 2020
  • #22

class P { char[] foo(char[]) { return null; } char[] foo() { return foo(null); } } class I : P { override char[] foo(char[]) { return null; ...
bug
  • belka-ew
  • Opened 
    on Feb 13, 2018
  • #5

interface I { void foo(out int i); } auto mocker = new Mocker; auto foo = mocker.mock!I; void func(out int i) { } int i; mocker.expect(foo.foo(i)).action( func); Maybe one of the numerous dmd frontend ...
bug
  • belka-ew
  • Opened 
    on Feb 13, 2018
  • #4

class A { void* func() out (result) { assert(result !is null); } body { return cast(void*) 1; } } auto mocker = new Mocker; auto a = mocker.mock!A; mocker.expect(a.func()); ...
bug
  • belka-ew
  • Opened 
    on Feb 13, 2018
  • #3

This code should fail, but it doesn t: class B { void foo(string[] = null) { } } unittest { auto mocker = new Mocker; auto klass = mocker.mock!B; mocker.expect(klass.foo).action({ ...
bug
  • belka-ew
  • 1
  • Opened 
    on Feb 13, 2018
  • #2
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub