Skip to content

Instantly share code, notes, and snippets.

View tsmaeder's full-sized avatar

Thomas Mäder tsmaeder

  • Castle Ridge Software
  • Switzerland
  • X @tsmaeder
View GitHub Profile
@tsmaeder
tsmaeder / workitemrepository.go
Created October 14, 2016 12:22
Mock object pattern
type WorkItemRepository struct {
DoLoad func(ctx context.Context, ID string) (*app.WorkItem, error)
DoSave func(ctx context.Context, wi app.WorkItem) (*app.WorkItem, error)
DoDelete func(ctx context.Context, ID string) error
DoCreate func(ctx context.Context, typeID string, fields map[string]interface{}) (*app.WorkItem, error)
DoList func(ctx context.Context, criteria criteria.Expression, start *int, length *int) ([]*app.WorkItem, uint64, error)
}
func (r *WorkItemRepository) Load(ctx context.Context, ID string) (*app.WorkItem, error) {
return r.DoLoad(ctx, ID)
Super Dev Mode starting up
workDir: /tmp/gwt-codeserver-6245183799930934294.tmp
Job org.eclipse.che.ide.IDE_1_0
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
binding: locale=en
[WARN] property 'locale' cannot be set to 'en'
allowed values: default
recovered with locale=default
------------------------------------------------------------------------
Searching for GWT
------------------------------------------------------------------------
io/typefox/lsapi/LsApi.gwt.xml
javax/validation/Validation.gwt.xml
jsinterop/annotations/Annotations.gwt.xml
org/eclipse/che/api/auth/Auth.gwt.xml
org/eclipse/che/api/core/Core.gwt.xml
org/eclipse/che/api/core/model/Model.gwt.xml
org/eclipse/che/api/debug/Debug.gwt.xml

Issue triage for July 4th and 5th

@tsmaeder
tsmaeder / triage-2019-07-11.md
Last active July 11, 2019 19:32
Triage results 2019-07-10T15:00+0 - 2019-07-11T15:00+0

7.0.0

Impossible to get a terminal in a workspace #13584)
"Annotation key is too long" error when starting workspace, created from devfile #13303

7.1.0

Can not create a new pull request from GitHub plugin [#13814] (eclipse-che/che#13814): there is an easy workaround: create the pull request on github

Info needed

It isn't possible to debug Python Django application #13816

7.0.0

Document how to configure devfile to get terminals in any images on OCP 4.x #14020
[regression] Devfile schema validation is broken for referenceContent actions #14024
Generated Hello World plugin build fails #14028

Not triaged (backlog)

[TS_SELENIUM] Investigate why sometimes notifications don't close after clicking to "yes" or "cancel" button #14022
Investigate Testing LSP features #14023
Investigate testing DAP features #14025
Investigate Language server metrics #14017